<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小明买牙膏</title>
</head>
<body>
    <script>
        for(var a = 1;a<=100;a++){
            for(var b = 1;b<=100;b++){
                for(var c = 1; c<=100;c++){
                    if(a*15+b*2+c*5===100){
                        document.write(a+"个洗发水",b+"个香皂",c+"个牙刷"+"<br>");
                    }
                }
            }
        }
    </script>
</body>
</html>